#!/usr/bin/python
#Filename: string.py

name = 'xiaofeng'

if name.startswith('xiao'):         #check benin is xiaofeng
    print 'Yes, the string starts with "xiao"'

if 'x' in name:
    print 'Yes, it contains the char "a"'

if name.find('feng') != -1:
    print 'Yes, it contains the string "feng"'

delimiter = '^_^'
mylist = ['Brazil', 'Russia', 'India', 'China']
print delimiter.join(mylist)
